package com.qiezi.bean;

import android.content.Intent;

public class VersionBean {

    private int update_status;
    private int version_code;
    private String version_name;
    private String modify_content;
    private String download_url;
    private long apk_size;
    private String apk_md5;

    public String hasUpdate(){
        return update_status > 0?"Yes":"No";
    }

    public boolean isForce(){
        return update_status == 2;
    }

    public int getUpdate_status() {
        return update_status;
    }

    public void setUpdate_status(int update_status) {
        this.update_status = update_status;
    }

    public Integer getVersion_code() {
        return version_code;
    }

    public void setVersion_code(int version_code) {
        this.version_code = version_code;
    }

    public String getVersion_name() {
        return version_name;
    }

    public void setVersion_name(String version_name) {
        this.version_name = version_name;
    }

    public String getModify_content() {
        return modify_content;
    }

    public void setModify_content(String modify_content) {
        this.modify_content = modify_content;
    }

    public String getDownload_url() {
        return download_url;
    }

    public void setDownload_url(String download_url) {
        this.download_url = download_url;
    }

    public Long getApk_size() {
        return apk_size;
    }

    public void setApk_size(long apk_size) {
        this.apk_size = apk_size;
    }

    public String getApk_md5() {
        return apk_md5;
    }

    public void setApk_md5(String apk_md5) {
        this.apk_md5 = apk_md5;
    }
}
